// import * as lang from 'angular2/src/facade/lang'

// console.log(lang.isString('55'));
// console.log(lang.NumberWrapper.toFixed(5.1234567, 2));
// // var e = new lang.NumberParseError('-----NumberParseError');
// // throw e;

// import * as async from 'angular2/src/facade/async'

// // --- test TimerWrapper
// async.TimerWrapper.setTimeout(() => {
// 	console.log('----TimerWrapper.setTimeout');
// }, 5000);

// // --- test ObservableWrapper
// var emiter = new async.EventEmitter();
// async.ObservableWrapper.subscribe(emiter, (data)=>{
// 	console.log('--onNext'+data);
// }, ()=>{
// 	console.log('--onError');
// }, ()=>{
// 	console.log('--onComplete');
// });
// emiter.emit(10);
// emiter.complete();

import * as collection from 'angular2/src/facade/collection'
// --- test MapWrapper
var m = collection.MapWrapper.createFromStringMap({'hb':100, 'ym':200});
console.log(collection.MapWrapper.keys(m));